package com.gitee.yannzh.rune.core.base.vo;


import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.gitee.yannzh.rune.core.base.pojo.VO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.dromara.core.trans.vo.TransPojo;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * @author Yann
 * @date 2019/9/16
 * @description vo基类
 */
@Getter
@Setter
@ToString
public class BaseVO implements TransPojo, VO,Serializable {

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long id;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer version;

//    @JsonIgnore
//    private Map<String, String> transMap = new HashMap<>();

}
